package com.dao;

import com.entity.RbacRole;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RbacRoleDao {
    String findByRbacManger(String username);

    List<RbacRole> findAll();

    List<Integer> checkedRole(int roleId);

    int saveChangeMenus(int roleId, List menus);

    int delete(int roleId);
}
